package com.corpdata.system.org.entity;

import java.util.List;
import java.util.Map;

import com.corpdata.common.upload.entity.SysAttachment;
import com.corpdata.core.base.BaseEntity;

public class OrgUser extends BaseEntity {

	private static final long serialVersionUID = 1L;

	private OrgDept orgDept;
	
	private String userid;
	
	private String userPwd;
	
	private String userName;
	
	private Integer userSex;
	
	private String phoneNumber;
	
	private String emailAddress;
	
	private String wechat;
	
	private Boolean enabledState;
	
	private String post;
	
	private String superior;
	
	private Integer sortNumber;
	
	private SysAttachment sysAttachmentPortrait;
	
	private String fkDoor;
	
	private String deptName;
	
	/**
	 * 这个字段是为了 在登录成功后再去查询一遍权限信息
	 * 获取到权限和权限范围的键值对 为数据级别权限提供数据
	 */
	private Map<String,Integer> orgPermission;
	private String roleid;//角色id
	
	public String getRoleid() {
		return roleid;
	}

	public void setRoleid(String roleid) {
		this.roleid = roleid;
	}

	public Map<String, Integer> getOrgPermission() {
		return orgPermission;
	}

	public void setOrgPermission(Map<String, Integer> orgPermission) {
		this.orgPermission = orgPermission;
	}

	public OrgDept getOrgDept() {
		return orgDept;
	}

	public void setOrgDept(OrgDept orgDept) {
		this.orgDept = orgDept;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getUserPwd() {
		return userPwd;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getUserSex() {
		return userSex;
	}

	public void setUserSex(Integer userSex) {
		this.userSex = userSex;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getEmailAddress() {
		return emailAddress;
	}

	public void setEmailAddress(String emailAddress) {
		this.emailAddress = emailAddress;
	}

	public String getWechat() {
		return wechat;
	}

	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public Boolean getEnabledState() {
		return enabledState;
	}

	public void setEnabledState(Boolean enabledState) {
		this.enabledState = enabledState;
	}

	public String getPost() {
		return post;
	}

	public void setPost(String post) {
		this.post = post;
	}

	public String getSuperior() {
		return superior;
	}

	public void setSuperior(String superior) {
		this.superior = superior;
	}

	public Integer getSortNumber() {
		return sortNumber;
	}

	public void setSortNumber(Integer sortNumber) {
		this.sortNumber = sortNumber;
	}

	public SysAttachment getSysAttachmentPortrait() {
		return sysAttachmentPortrait;
	}

	public void setSysAttachmentPortrait(SysAttachment sysAttachmentPortrait) {
		this.sysAttachmentPortrait = sysAttachmentPortrait;
	}

	public String getFkDoor() {
		return fkDoor;
	}

	public void setFkDoor(String fkDoor) {
		this.fkDoor = fkDoor;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
	
    
}